<d-data-table [dataSource]="dates">
  <thead dTableHead>
    <tr dTableRow>
      <th dHeadCell>before</th>
      <th dHeadCell>after translate</th>
    </tr>
  </thead>
  <tbody dTableBody>
    <ng-template let-rowItem="rowItem">
      <tr dTableRow>
        <td dTableCell>{{ getStringName(rowItem) }}</td>
        <td dTableCell>{{ rowItem | dRelativeTime: limit:compareTime | async }}</td>
      </tr>
    </ng-template>
  </tbody>
</d-data-table>
